import {createRouter, createWebHashHistory} from 'vue-router'
import routes from './routes'

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

router.beforeEach((to, from) => {
    return true;
})

router.afterEach((to, from) => {
    console.log(to, from)
})

export default router;
